package com.eastfair.venuebooking.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.eastfair.core.base.entity.Entity;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 客户及线索联系人表
 * </p>
 *
 * @author dqq
 * @since 2023-01-31
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "ContactSaveDTO", description = "客户及线索联系人表")
public class ContactSaveDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 是否启用：1是；0否
     */
    @ApiModelProperty(value = "是否启用：1是；0否")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 联系人名称
     */
    @ApiModelProperty(value = "联系人名称")
    @Size(max = 64, message = "联系人名称长度不能超过64")
    private String contactName;
    /**
     * 性别，尊称
     */
    @ApiModelProperty(value = "性别，尊称")
    @Size(max = 64, message = "性别，尊称长度不能超过64")
    private String gender;
    /**
     * 角色
     */
    @ApiModelProperty(value = "角色")
    @Size(max = 64, message = "角色长度不能超过64")
    private String role;
    /**
     * 生日
     */
    @ApiModelProperty(value = "生日")
    private LocalDate birthday;
    /**
     * 岗位
     */
    @ApiModelProperty(value = "岗位")
    @Size(max = 64, message = "岗位长度不能超过64")
    private String post;
    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    @Size(max = 20, message = "手机号长度不能超过20")
    private String mobile;
    /**
     * 固定电话
     */
    @ApiModelProperty(value = "固定电话")
    @Size(max = 20, message = "固定电话长度不能超过20")
    private String phone;
    /**
     * 传真
     */
    @ApiModelProperty(value = "传真")
    @Size(max = 20, message = "传真长度不能超过20")
    private String fax;
    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    @Size(max = 20, message = "邮箱长度不能超过20")
    private String mail;
    /**
     * 微信账号
     */
    @ApiModelProperty(value = "微信账号")
    @Size(max = 20, message = "微信账号长度不能超过20")
    private String wechat;
    /**
     * qq号
     */
    @ApiModelProperty(value = "qq号")
    @Size(max = 20, message = "qq号长度不能超过20")
    private String qq;
    /**
     * 所在地区
     */
    @ApiModelProperty(value = "所在地区")
    @Size(max = 64, message = "所在地区长度不能超过64")
    private String region;
    /**
     * 详细地址
     */
    @ApiModelProperty(value = "详细地址")
    @Size(max = 64, message = "详细地址长度不能超过64")
    private String address;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @Size(max = 255, message = "备注长度不能超过255")
    private String remark;
    /**
     * cms系统同步状态 0:待同步;1:已同步
     */
    @ApiModelProperty(value = "cms系统同步状态 0:待同步;1:已同步")
    @NotNull(message = "请填写cms系统同步状态 0:待同步;1:已同步")
    private Integer cmsSync;

}
